package com.woniuxy.mesboot.service.impl;

import com.woniuxy.mesboot.entity.MesTeamMembers;
import com.woniuxy.mesboot.mapper.MesTeamMembersMapper;
import com.woniuxy.mesboot.service.TeamMembersService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class TeamMembersServiceImpl implements TeamMembersService {
    @Resource
    private MesTeamMembersMapper teamMembersMapper;

    @Override
    public List<MesTeamMembers> selectAll() {
        return teamMembersMapper.selectAll();
    }

    @Override
    public int deleteByPrimaryKey(Long id) {
        return teamMembersMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(MesTeamMembers record) {
        return teamMembersMapper.insert(record);
    }

    @Override
    public int insertSelective(MesTeamMembers record) {
        return teamMembersMapper.insertSelective(record);
    }

    @Override
    public MesTeamMembers selectByPrimaryKey(Long id) {
        return teamMembersMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(MesTeamMembers record) {
        return teamMembersMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(MesTeamMembers record) {
        return teamMembersMapper.updateByPrimaryKey(record);
    }
}
